#include "stdafx.h"
#include "Atomic.h"


void TestAtomic()
{
	WTB::CAtomic<int> testAtomicInt;
	int nReturn;

	nReturn = testAtomicInt.AtomicBitTestAndComplement(0);

	nReturn = testAtomicInt.AtomicBitTestAndComplement(0);

	nReturn = testAtomicInt.AtomicBitTestAndSet(0);

	nReturn = testAtomicInt.AtomicBitTestAndSet(0);

	nReturn = testAtomicInt.AtomicBitTestAndReset(0);
	
	nReturn = testAtomicInt.AtomicBitTestAndReset(0);
}
/*
void main()
{
	TestAtomic();
};
*/
